package com.ltkj.baseplatform.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.ltkj.common.core.annotation.Excel;
import com.ltkj.common.core.web.domain.BaseEntity;

/**
 * 评论管理对象 ser_comment_data
 * 
 * @author liupf
 * @date 2023-10-16
 */
@ApiModel(value = "评论管理")
public class SerCommentData extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @ApiModelProperty("主键")
    private Long id;

    /** 业务主键 */
    @Excel(name = "业务主键")
    @ApiModelProperty("业务主键")
    private Long bizId;

    /** 业务编码 */
    @Excel(name = "业务编码")
    @ApiModelProperty("业务编码")
    private String typeCode;

    /** 状态（1展示中/0已折叠） */
    @Excel(name = "状态", readConverterExp = "1=展示中/0已折叠")
    @ApiModelProperty("状态（1展示中/0已折叠）")
    private String status;

    /** 用户编号 */
    @Excel(name = "用户编号")
    @ApiModelProperty("用户编号")
    private Long userId;

    /** 评论内容 */
    @Excel(name = "评论内容")
    @ApiModelProperty("评论内容")
    private String commentText;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setBizId(Long bizId) 
    {
        this.bizId = bizId;
    }

    public Long getBizId() 
    {
        return bizId;
    }
    public void setTypeCode(String typeCode) 
    {
        this.typeCode = typeCode;
    }

    public String getTypeCode() 
    {
        return typeCode;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setCommentText(String commentText) 
    {
        this.commentText = commentText;
    }

    public String getCommentText() 
    {
        return commentText;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("bizId", getBizId())
            .append("typeCode", getTypeCode())
            .append("status", getStatus())
            .append("userId", getUserId())
            .append("commentText", getCommentText())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .append("remark", getRemark())
            .toString();
    }
}
